import service from "@/api/index";
const PERMISSION_MANAGEMENT_API = "/api/PermissionManagement/";

export default {
	GetUserInfoListApi: (paramet: object) => {
		//获取用户列表
		return service.post(`${PERMISSION_MANAGEMENT_API}GetUserInfoList`, paramet);
	},
	GetFunctionChildrenApi: () => {
		//获取用户列表
		return service.post(`${PERMISSION_MANAGEMENT_API}GetFunctionChildren`, {}, { headers: { noLoading: true } });
	},
	UpdateUserInfoPassWordApi: (paramet: object) => {
		//获取用户列表
		return service.post(`${PERMISSION_MANAGEMENT_API}UpdateUserInfoPassWord`, paramet);
	}
};
